<?php 
class LogManager{
	
	static $PATH_TO_LOG='../logs/';
	public function __construct() {
		
	}
	public static function logMsg($msg=''){
		$fp = fopen($PATH_TO_LOG.date('Y-M-d-IHM').'.txt', 'a');
		fwrite($fp, date('H:i:s').' : '.$msg."\n");
		fclose($fp);
	}
}
?>